package concurrent

import "fmt"

func Main() {
	TestGoRoutine1()
	TestGoroutine2()
	TestGoroutine(1)

	TestChannel1()
	TestChannel2()
	TestChannel3()

	TestChannel4()
	TestWorkerPool()
	TestSelect()
	TestMutex()
	TestRWLock()

	s := GetInstance2()
	fmt.Println(s)

	TestSyncMap()
	TestAtomic()
	TestAtomic2()
	TestChannel5()
}
